<template>
	<gui-page :customHeader="true" style="background: #f3f3f3;">
		<template v-slot:gHeader>
			<!-- #ifdef MP -->
			<view style="height:20px;"></view>
			<!-- #endif -->
		</template>
		<!-- 请开始您的开发 ~ -->
		<template v-slot:gBody>
			<view class="gui-padding gui-bg-white ps tophead">
				<logo showback @back="handleBack"  btntext="&#xe6fe;" title="资源推广"></logo>
			</view>
			<!-- #ifdef APP -->
			<view style="margin-top:90px;"></view>
			<!-- #endif -->
			<view >
				<cc-advert-index :showspace="false"></cc-advert-index>
				<view class="gui-padding-m">
					<view class="gui-bg-white gui-border-radius">
						<cc-category-list></cc-category-list>
					</view>
					<view class="gui-padding-m gui-bg-white gui-border-radius mt10">
						<cc-course-index></cc-course-index>
					</view>
				</view>
			</view>
			<view style="height:30rpx;"></view>
		</template>
	</gui-page>
</template>
<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			handleBack() {
				uni.switchTab({
					url: "/pages/tabbar/me"
				})
			}
		}
	}
</script>
<style scoped lang="scss">

</style>